package com.woniuxy.lrz.carlproject.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 服务表
 * </p>
 *
 * @author lrz
 * @since 2022-09-28
 */
@TableName("service_info")
@ApiModel(value = "Service对象", description = "服务表")
public class ServiceInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "service_id", type = IdType.AUTO)
    private Integer serviceId;

    @ApiModelProperty("服务名")
    private String serviceName;

    @ApiModelProperty("服务价格")
    private Double servicePrice;

    @ApiModelProperty("关联二级分类id")
    private Integer serviceSecondId;

    @ApiModelProperty("服务图片")
    private String servicePhoto;

    @ApiModelProperty("状态 上架-up 下架-down 删除 -del")
    private String serviceStatus;

    @ApiModelProperty("逻辑删除(0正常，1删除)")
    private Integer deleted;

    public Integer getServiceId() {
        return serviceId;
    }

    public void setServiceId(Integer serviceId) {
        this.serviceId = serviceId;
    }

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    public Double getServicePrice() {
        return servicePrice;
    }

    public void setServicePrice(Double servicePrice) {
        this.servicePrice = servicePrice;
    }

    public Integer getServiceSecondId() {
        return serviceSecondId;
    }

    public void setServiceSecondId(Integer serviceSecondId) {
        this.serviceSecondId = serviceSecondId;
    }

    public String getServicePhoto() {
        return servicePhoto;
    }

    public void setServicePhoto(String servicePhoto) {
        this.servicePhoto = servicePhoto;
    }

    public String getServiceStatus() {
        return serviceStatus;
    }

    public void setServiceStatus(String serviceStatus) {
        this.serviceStatus = serviceStatus;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    @Override
    public String toString() {
        return "Service{" +
        "serviceId = " + serviceId +
        ", serviceName = " + serviceName +
        ", servicePrice = " + servicePrice +
        ", serviceSecondId = " + serviceSecondId +
        ", servicePhoto = " + servicePhoto +
        ", serviceStatus = " + serviceStatus +
        ", deleted = " + deleted +
        "}";
    }
}
